Add BladeFormatter entry to b.json#9440
Open
RushabhJoshi wants to merge 1 commit into
Open
Conversation
|
This PR adds BladeFormatter. Review for BladeFormatter master-055137b-2026.05.30.08.24.01
3 failures:
5 warnings:
|
Collaborator
It looks like https://packages.sublimetext.io/packages/Formatter can also format Blade, and https://packages.sublimetext.io/packages/Fmt might also be able to do it. What does your package bring to the table that can't be contributed to either of those? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Package Description
My package is BladeFormatter, a Sublime Text package that integrates the popular global NPM binary
blade-formatterto format Laravel Blade template files. It supports custom indentation sizing, line wrapping, Tailwind CSS class sorting, HTML attribute sorting, and standard PSR formatting options.Similar Packages & Distinctiveness
There are no packages like it in Package Control.
While there are packages for Laravel Blade syntax highlighting (e.g., Laravel Blade) and minor spacing tweaks (e.g., Laravel Blade Spacer which only formats spaces inside double curly braces
{{ }}), BladeFormatter is the first dedicated, general-purpose formatting engine for Laravel Blade files in the Sublime Text ecosystem.Note on Key Bindings: The package includes default key bindings
ctrl+alt+f(Windows/Linux) andcmd+alt+f(Mac) as they are standard, highly expected shortcuts for formatters. They are documented clearly in the README and mapped natively to theblade_formatcommand.